

<form class="layui-form" lay-filter="layuiadmin-form-smsct" id="layuiadmin-form-smsct" style="padding: 20px 30px 0 0;">
  <div class="layui-form-item">
    <label class="layui-form-label">模板名称</label>
    <div class="layui-input-block">
      <script type="text/html" template>
        <input type="text" name="template_name" value="{{ d.params.template_name || '' }}"  placeholder="请输入模板名称" autocomplete="off" class="layui-input layui-bg-gray">
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">模板内容</label>
    <div class="layui-input-block">
      <script type="text/html" template>
        <textarea name="content" placeholder="模板内容" class="layui-textarea layui-bg-gray">{{ d.params.content || '' }}</textarea>
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">审核状态</label>
    <div class="layui-input-block">
      <script type="text/html" template>
        <input type="radio" name="status" value="1" title="正常" {{ d.params.status == '正常' ? 'checked' : '' }}>
        <input type="radio" name="status" value="0" title="禁用" {{ d.params.status == '正常'? '' : 'checked' }}>
      </script>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label"></label>
    <div class="layui-input-inline">
      <input type="button" lay-submit lay-filter="LAY-app-smsct-submit" value="立即提交" class="layui-btn">
    </div>
  </div>
</form>

<script>
layui.use(['index', 'form'], function(){
  var $ = layui.$
  ,form = layui.form;
  
})
</script>